<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>


    document.cookie="key=coolie.."
    document.write(document.cookie)
    document.write("<p></p>")

    sessionStorage['key']='session..'
    document.write(sessionStorage['key'])
    document.write("<p></p>")



    localStorage['user']='localStorage...';
    document.write(localStorage['user'])
    document.write("<p></p>")
</script>
</html>